﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using VTESCore;

using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;

namespace VTESCustomContentPipeline
{
	[ContentTypeWriter]
	public class VTESDeckContentWriter : ContentTypeWriter<VTESDeck>
	{
		protected override void Write( ContentWriter output, VTESDeck value )
		{
			output.WriteObject( value.CryptCards );
			output.WriteObject( value.LibraryCards );
		}

		public override string GetRuntimeType( Microsoft.Xna.Framework.TargetPlatform targetPlatform )
		{
			return "VTESCore.VTESDeck, VTESCore";
		}

		public override string GetRuntimeReader( Microsoft.Xna.Framework.TargetPlatform targetPlatform )
		{
			return "VTESCustomContentReaders.VTESDeckContentReader, VTESCustomContentReaders, Version=1.0.0.0, Culture=neutral";
		}
	}
}
